<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/4/15
 * Time: 17:02
 */
$son = pcntl_fork();
// 子进程pid  0  小于0

if ($son > 0 ) {
    // 父进程空间
    $son1 = pcntl_fork();
} else {
    echo $son.PHP_EOL;
    echo $son1;
}